{{- if include "is_basic_auth_enabled_in_any_crowd" . }}
---
apiVersion: v1
kind: Secret
metadata:
  name: crowd-basic-auth-cert
  namespace: d8-{{ .Chart.Name }}
  {{- include "helm_lib_module_labels" (list . (dict "app" "crowd-basic-auth-cert")) | nindent 2 }}
data:
  client.crt: {{ .Values.userAuthn.internal.crowdProxyCert }}
  client.key: {{ .Values.userAuthn.internal.crowdProxyKey }}
{{- end }}
